package bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DatHang extends Master {

    private int datHangID;
    private int userID;
    private Date thoiGian;
    private String diaChi;
    private float tongGiaTri;
    private Date ngayGiao;
    private int nhanVienID;
    private String ghiChu;
    private int trangThai;
    private ThongTinNguoiDung nhanVien;
    private NguoiDung nguoiMua;
    private List<ChiTietDatHang> chiTietDatHangs = new ArrayList<ChiTietDatHang>();

    public DatHang() {
    }

    public int getDatHangID() {
        return datHangID;
    }

    public void setDatHangID(int datHangID) {
        this.datHangID = datHangID;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public Date getThoiGian() {
        return thoiGian;
    }

    public void setThoiGian(Date thoiGian) {
        this.thoiGian = thoiGian;
    }

    public String getDiaChi() {
        return diaChi;
    }

    public void setDiaChi(String diaChi) {
        this.diaChi = diaChi;
    }

    public float getTongGiaTri() {
        return tongGiaTri;
    }

    public void setTongGiaTri(float tongGiaTri) {
        this.tongGiaTri = tongGiaTri;
    }

    public Date getNgayGiao() {
        return ngayGiao;
    }

    public void setNgayGiao(Date ngayGiao) {
        this.ngayGiao = ngayGiao;
    }

    public int getNhanVienID() {
        return nhanVienID;
    }

    public void setNhanVienID(int nhanVienID) {
        this.nhanVienID = nhanVienID;
    }

    public String getGhiChu() {
        return ghiChu;
    }

    public void setGhiChu(String ghiChu) {
        this.ghiChu = ghiChu;
    }

    public int getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(int trangThai) {
        this.trangThai = trangThai;
    }

    public ThongTinNguoiDung getNhanVien() {
        return nhanVien;
    }

    public void setNhanVien(ThongTinNguoiDung nhanVien) {
        this.nhanVien = nhanVien;
    }

    public NguoiDung getNguoiMua() {
        return nguoiMua;
    }

    public void setNguoiMua(NguoiDung nguoiMua) {
        this.nguoiMua = nguoiMua;
    }

    public List<ChiTietDatHang> getChiTietDatHangs() {
        return chiTietDatHangs;
    }

    public void setChiTietDatHangs(List<ChiTietDatHang> chiTietDatHangs) {
        this.chiTietDatHangs = chiTietDatHangs;
    }
}
